const _shallowClone = (target) => {
  if (typeof target !== "object" || target === null) return target;
  const copy = {};
  for (const key of Object.keys(target)) {
    copy[key] = target[key];
  }
  return copy;
};
